#ifndef SETRECT_H
#define SETRECT_H

#include <QDialog>
#include<QSettings>
#include"mylabel.h"
#include<QLineEdit>

namespace Ui {
class setrect;
}

class setrect : public QDialog
{
    Q_OBJECT

public:
    explicit setrect(QWidget *parent = nullptr);
    ~setrect();

private slots:
    void on_pushButton_ok_clicked();

    void on_pushButton_cancel_clicked();

    void on_pushButton_save_clicked();

    void on_pushButton_reload_clicked();

    void on_pushButton_showrects_clicked();

    void on_lineEdit_rectnum_textEdited(const QString &arg1);

    void on_lineEdit_rectnum_textChanged(const QString &arg1);

    void on_setrectButton_1_clicked();

    void on_setrectButton_2_clicked();

    void on_setrectButton_3_clicked();

    void on_setrectButton_4_clicked();

    void on_setrectButton_5_clicked();

    void on_setrectButton_6_clicked();

    void on_setrectButton_7_clicked();

    void on_setrectButton_8_clicked();

    void on_setrectButton_9_clicked();

    void on_setrectButton_10_clicked();

    void on_setrectButton_11_clicked();

private:
    Ui::setrect *ui;
public:
    QSettings *ini;
    mylabel *ml;
    mylabel *sml;//用鼠标圈定区域
    QLineEdit *cle;//当前要圈定的区域的坐标输入框
};

#endif // SETRECT_H
